home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 1998 November / IRIX 6.5.2 Base Documentation November 1998.img / usr / share / catman / u_man / cat1 / dmedia / diskperf.z / diskperf
Text File  |  1998-10-30  |  15KB  |  331 lines

  1.  
  2.  
  3.  
  4. ddddiiiisssskkkkppppeeeerrrrffff((((1111))))                                                        ddddiiiisssskkkkppppeeeerrrrffff((((1111))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      diskperf - Disk Performance Testing Utility
  10.  
  11. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  12.      ddddiiiisssskkkkppppeeeerrrrffff [[[[----WWWW]]]] [[[[----DDDD]]]] [[[[----RRRR]]]] [[[[----LLLL]]]] [[[[----nnnn<<<<nnnnaaaammmmeeee>>>>]]]] [[[[----tttt<<<<nnnn>>>>]]]] [[[[----ssss<<<<ffff>>>>]]]]
  13.               [[[[----dddd<<<<ffff>>>>]]]] [[[[----cccc<<<<nnnn>>>>[[[[kkkk||||mmmm||||gggg]]]]]]]] [[[[----rrrr<<<<nnnn>>>>[[[[kkkk||||mmmm||||gggg]]]]]]]]
  14.               [[[[----mmmm<<<<nnnn>>>>[[[[kkkk||||mmmm||||gggg]]]]]]]] <<<<tttteeeessssttttppppaaaatttthhhh>>>>
  15.  
  16. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  17.      The purpose of this utility is to measure the performance of a disk
  18.      configuration as either a raw volume or with a filesystem such as XFS. A
  19.      number of different test patterns are run including forward and backward
  20.      sequential as well as random seek read/write patterns. The output is
  21.      tabulated in a form usable for processing by other utilities such as
  22.      gnuplot for further analysis.
  23.  
  24. OOOOPPPPTTTTIIIIOOOONNNNSSSS
  25.      ----WWWW   By default diskperf only performs read tests. If this switch is
  26.           supplied, write tests will also be done.
  27.  
  28.           RRRRaaaawwww wwwwrrrriiiitttteeee tttteeeessssttttiiiinnnngggg wwwwiiiillllllll ddddeeeessssttttrrrrooooyyyy ppppaaaarrrrttttiiiittttiiiioooonnnn ccccoooonnnntttteeeennnnttttssss !!!!!!!!
  29.  
  30.           For filesystem tests, any contents of the test file will be
  31.           destroyed. Note that is the test file exists it may grow if the end
  32.           of file is reached before the test time expires.  If the test file
  33.           does not exist it will be created.
  34.  
  35.      ----DDDD   In the case of a filesystem test, this switch forces diskperf to use
  36.           direct I/O when accessing the test file.  Direct I/O is only
  37.           supported on EFS, XFS and NFS ( via BDS ) filesytems.
  38.  
  39.           This switch has no effect for raw tests.
  40.  
  41.      ----RRRR   Forces testing to take place on the real time subvolume of an XLV
  42.           volume built with _x_l_v__m_a_k_e.
  43.  
  44.      ----LLLL   In the case of a raw test, forces testing to take place on the log
  45.           subvolume of an XLV volume built with _x_l_v__m_a_k_e.
  46.  
  47.           This switch has no effect for filesystem tests.
  48.  
  49.      ----nnnn _n_a_m_e
  50.           Specifies an arbitrary identifying name for the test which will
  51.           appear in the test output. This option is useful to uniquely label
  52.           results when running from shell scripts.
  53.  
  54.      ----tttt _t_i_m_e
  55.           Specifies the duration in seconds for each test component. This
  56.           allows limiting of the run time for individual tests. Care should be
  57.           taken to use a test time long enough to give a representative result
  58.           from the disk configuration.
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70. ddddiiiisssskkkkppppeeeerrrrffff((((1111))))                                                        ddddiiiisssskkkkppppeeeerrrrffff((((1111))))
  71.  
  72.  
  73.  
  74.           The default is 10 seconds.
  75.  
  76.      ----ssss _f_a_c_t_o_r
  77.           Specifies a floating point scaling factor for all the results.  This
  78.           is useful for obtaining per-disk performance characteristics.
  79.  
  80.           The default scaling factor is 1.0
  81.  
  82.      ----dddd _s_e_c_o_n_d_s
  83.           Specifies a floating point delay in seconds between each I/O
  84.           request.  This is useful for multi-thread tests ( ie. multiple
  85.           diskperfs running on the same volume ) to alleviate the problem of
  86.           single threads monopolizing access to the disk hardware, which can
  87.           be related to the fairness policies of both the disk hardware and
  88.           the scheduler.
  89.  
  90.           The default delay is 0.0 ( no delay )
  91.  
  92.      ----cccc _s_i_z_e[_k|_m|_g]
  93.           In the case of a filesystem test, this switch forces diskperf to
  94.           create the test file specified in <testpath> to the specified size
  95.           in bytes, kilobytes, megabytes or gigabytes ( using suffixes ).  By
  96.           default, diskperf assumes the test file is an existing file. This is
  97.           useful if tests need to be done on existing representative data
  98.           files, or particular files which may be causing problems for an
  99.           application because of disk errors, fragmentation etc.
  100.  
  101.           This switch has no effect for raw tests.
  102.  
  103.      ----rrrr _s_i_z_e[_k|_m|_g]
  104.           Specifies the minimum request size in bytes, kilobytes, megabytes or
  105.           gigabytes ( using suffixes ). Testing will start at this request
  106.           size and progressively double until the maximum request size is
  107.           exceeded.
  108.  
  109.           For striped subvolumes the default is the stripe size.  Otherwise,
  110.           the default value is 16k.
  111.  
  112.      ----mmmm _s_i_z_e[_k|_m|_g]
  113.           Specifies the maximum request size in bytes, kilobytes, megabytes or
  114.           gigabytes ( using suffixes ). This value defaults to the greater of
  115.           the kernel maximum allowed DMA size ( controlled by the maxdmasz
  116.           systune parameter ) and the maximum DMA size for the device.
  117.  
  118.      tttteeeessssttttppppaaaatttthhhh
  119.           Specifies the path to the file or raw device to test.
  120.  
  121.           For filesystem tests this is simply a pathname for a test file to be
  122.           created ( or used if -N ) for performance testing. For example :
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.                                                                         PPPPaaaaggggeeee 2222
  130.  
  131.  
  132.  
  133.  
  134.  
  135.  
  136. ddddiiiisssskkkkppppeeeerrrrffff((((1111))))                                                        ddddiiiisssskkkkppppeeeerrrrffff((((1111))))
  137.  
  138.  
  139.  
  140.                ddddiiiisssskkkkppppeeeerrrrffff ----DDDD ----rrrr4444kkkk ----mmmm1111mmmm ////dddd2222////tttteeeessssttttffffiiiilllleeee
  141.                ddddiiiisssskkkkppppeeeerrrrffff ----WWWW ----NNNN ----DDDD ----RRRR ////ddddiiiisssskkkk6666////pppprrrroooobbbblllleeeemmmmffffiiiilllleeee
  142.  
  143.           For raw tests, the is the pathname to a character device. For
  144.           example :
  145.  
  146.                ddddiiiisssskkkkppppeeeerrrrffff ----rrrr555511112222kkkk ----mmmm8888mmmm ////ddddeeeevvvv////rrrrddddsssskkkk////ddddkkkkssss11110000dddd1111ssss7777
  147.                ddddiiiisssskkkkppppeeeerrrrffff ////ddddeeeevvvv////rrrrxxxxllllvvvv////ssssttttrrrriiiippppeeeedddd____vvvvoooolllluuuummmmeeee
  148.  
  149. RRRRAAAAWWWW DDDDEEEEVVVVIIIICCCCEEEE TTTTEEEESSSSTTTTIIIINNNNGGGG
  150.      This is the lowest level of disk testing and bypasses the filesystem
  151.      layer and hence eliminates all overhead normally incurred when accessing
  152.      the disk via a filesystem.  Note that raw tests will require root
  153.      priveleges to access to raw disk character
  154.  
  155.      The main reason for using a raw test is to obtain measurements close to
  156.      the physical capabilities of the disk hardware. This gives a set of
  157.      performance ceilings to which filesystem or application level
  158.      measurements can be compared.
  159.  
  160.      Also, because a raw test has the freedom to access the entire addressable
  161.      space of the disk partition, accurate and representative worst case
  162.      random seek read/write measurements can be obtained because the seek
  163.      distance is not bounded by the size of a test file, as is the case with
  164.      filesystem level tests.
  165.  
  166. EEEEXXXXAAAAMMMMPPPPLLLLEEEE RRRRAAAAWWWW TTTTEEEESSSSTTTT
  167.      #### ddddiiiisssskkkkppppeeeerrrrffff ----WWWW ----nnnn """"FFFFCCCC TTTTeeeesssstttt ####1111"""" ----tttt5555 ----mmmm11116666mmmm ////ddddeeeevvvv////rrrrddddsssskkkk////ddddkkkkssss11115555dddd1111ssss7777
  168.      #---------------------------------------------------------
  169.      # Test name     : FC Test #1
  170.      # Test date     : Sun Jul 20 19:05:34 1997
  171.      # Test machine  : IRIX64 blob 6.4 02121744 IP27
  172.      # Test type     : Raw data subvolume
  173.      # Request sizes : min=16384 max=16777216
  174.      # Parameters    : direct=0 time=5
  175.      #                 path=/dev/rdsk/dks15d1s7
  176.      # Device size   : 142258752 blocks
  177.      #---------------------------------------------------------
  178.      # req_size  fwd_wt  fwd_rd  bwd_wt  bwd_rd  rnd_wt  rnd_rd
  179.      #  (bytes)  (MB/s)  (MB/s)  (MB/s)  (MB/s)  (MB/s)  (MB/s)
  180.      #---------------------------------------------------------
  181.           16384    9.28   10.71    1.97    1.54    1.01    0.85
  182.           32768   16.53   19.30    3.50    3.07    1.99    1.66
  183.           65536   27.28   32.32    6.57    5.75    3.92    3.22
  184.          131072   36.81   48.97   11.98   10.52    7.46    6.13
  185.          262144   50.53   65.90   20.16   17.93   13.54   11.24
  186.          524288   61.98   79.62   29.37   26.72   23.09   19.61
  187.         1048576   68.34   88.94   38.32   36.26   35.52   31.46
  188.         2097152   71.65   88.86   45.16   44.73   47.45   44.39
  189.         4194304   72.31   88.90   50.05   49.40   55.91   56.37
  190.  
  191.  
  192.  
  193.  
  194.  
  195.                                                                         PPPPaaaaggggeeee 3333
  196.  
  197.  
  198.  
  199.  
  200.  
  201.  
  202. ddddiiiisssskkkkppppeeeerrrrffff((((1111))))                                                        ddddiiiisssskkkkppppeeeerrrrffff((((1111))))
  203.  
  204.  
  205.  
  206.         8388608   71.93   88.81   50.73   52.16   60.39   63.18
  207.        16777216   73.40   88.84   50.41   53.83   60.13   69.33
  208.  
  209. FFFFIIIILLLLEEEESSSSYYYYSSSSTTTTEEEEMMMM TTTTEEEESSSSTTTTIIIINNNNGGGG
  210.      Filesystem tests perform all I/O activity through whatever filesystem is
  211.      layered on the disk device. These tests are more representative of
  212.      expected real world application performance because they address the disk
  213.      through the same mechanisms used by applications working with
  214.      filesystems. Filesystem tests perform all their testing within a supplied
  215.      ( or created ) test file.  Care must be taken as filesystem tests can
  216.      only work within the bounds of the test file so try to work with as big a
  217.      test file as possible to get more representative results.
  218.  
  219. EEEEXXXXAAAAMMMMPPPPLLLLEEEE FFFFIIIILLLLEEEESSSSYYYYSSSSTTTTEEEEMMMM TTTTEEEESSSSTTTT
  220.      #### ddddiiiisssskkkkaaaalllliiiiggggnnnn ----nnnn """"vvvviiiiddddeeeeoooo"""" ----rrrr6666mmmm ''''////ddddeeeevvvv////ddddsssskkkk////ddddkkkkssss[[[[11115555----11117777]]]]dddd1111ssss7777'''' |||| xxxxllllvvvv____mmmmaaaakkkkeeee
  221.      video
  222.      video.data
  223.      video.data.0
  224.      video.data.0.0
  225.      Object specification completed
  226.      #### mmmmkkkkffffssss ////ddddeeeevvvv////xxxxllllvvvv////vvvviiiiddddeeeeoooo
  227.      meta-data=/dev/xlv/video isize=256 agcount=204 agsize=261504
  228.      data     =             bsize=4096 blocks=53346816 imaxpct=25
  229.      log      =internal log   bsize=4096 blocks=1000
  230.      realtime =none           extsz=65536 blocks=0, rtextents=0
  231.      #### mmmmoooouuuunnnntttt ////ddddeeeevvvv////xxxxllllvvvv////vvvviiiiddddeeeeoooo ////vvvviiiiddddeeeeoooo
  232.      #### ddddiiiisssskkkkppppeeeerrrrffff ----WWWW ----DDDD ----nnnn """"SSSSttttrrrriiiippppeeeedddd"""" ----cccc2222gggg ////vvvviiiiddddeeeeoooo////tttteeeessssttttffffiiiilllleeee
  233.      #---------------------------------------------------------
  234.      # Test name     : Striped
  235.      # Test date     : Sun Jul 20 20:42:57 1997
  236.      # Test machine  : IRIX64 blob 6.4 02121744 IP27
  237.      # Test type     : XFS striped data subvolume
  238.      # Disk striping : group=3  unit=4096
  239.      # Request sizes : min=6291456 max=67125248
  240.      # Parameters    : direct=1 time=10
  241.      #                 path=/video/testfile
  242.      # XFS file size : 2202009600 bytes
  243.      #---------------------------------------------------------
  244.      # req_size  fwd_wt  fwd_rd  bwd_wt  bwd_rd  rnd_wt  rnd_rd
  245.      #  (bytes)  (MB/s)  (MB/s)  (MB/s)  (MB/s)  (MB/s)  (MB/s)
  246.      #---------------------------------------------------------
  247.         6291456   63.94  245.11   67.69  180.23   66.02  171.52
  248.        12582912   78.15  249.03   80.68  210.87   79.22  204.64
  249.        25165824   87.72  251.56   89.32  229.63   88.77  228.97
  250.        50331648   91.73  239.29   92.22  228.00   92.10  230.26
  251.  
  252. BBBBUUUUGGGGSSSS
  253.      None known
  254.  
  255.  
  256.  
  257.  
  258.  
  259.  
  260.  
  261.                                                                         PPPPaaaaggggeeee 4444
  262.  
  263.  
  264.  
  265.  
  266.  
  267.  
  268. ddddiiiisssskkkkppppeeeerrrrffff((((1111))))                                                        ddddiiiisssskkkkppppeeeerrrrffff((((1111))))
  269.  
  270.  
  271.  
  272. SEE ALSO
  273.      diskprep(1M), diskalign(1M), xlv_make(1M), mkfs(1M)
  274.  
  275. NNNNOOOOTTTTEEEESSSS
  276.      None
  277.  
  278. AAAAUUUUTTTTHHHHOOOORRRR
  279.      Will McGovern ( willmc@sgi.com )
  280.      Advanced Entertainment Systems Division
  281.      Silicon Graphics Inc.
  282.  
  283.  
  284.  
  285.  
  286.  
  287.  
  288.  
  289.  
  290.  
  291.  
  292.  
  293.  
  294.  
  295.  
  296.  
  297.  
  298.  
  299.  
  300.  
  301.  
  302.  
  303.  
  304.  
  305.  
  306.  
  307.  
  308.  
  309.  
  310.  
  311.  
  312.  
  313.  
  314.  
  315.  
  316.  
  317.  
  318.  
  319.  
  320.  
  321.  
  322.  
  323.  
  324.  
  325.  
  326.  
  327.                                                                         PPPPaaaaggggeeee 5555
  328.  
  329.  
  330.  
  331.